<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">

<f:loadBundle basename="requeteur.ejb.commun.message.Message_fr" var="msg" />

<h:head>
	<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />
	<title><h:outputText value="#{msg['application.titre']}" /></title>
	<link href="${facesContext.externalContext.requestContextPath}/resources/css/application.css" media="screen" rel="stylesheet" type="text/css" />
</h:head>

<h:body>

	<p:layout fullPage="true">

		<p:layoutUnit position="north">
			<ui:include src="header.xhtml" />
		</p:layoutUnit>

		<p:layoutUnit position="west" size="300" resizable="true">
			<ui:include src="tables.xhtml" />
		</p:layoutUnit>

		<p:layoutUnit position="center">
			<ui:insert name="content" />
		</p:layoutUnit>

	</p:layout>

	<ui:insert name="dialog" />
	
	<p:ajaxStatus onstart="dialogChargement.show()" oncomplete="dialogChargement.hide()"/>
	
	<p:dialog widgetVar="dialogChargement" modal="true" resizable="false" draggable="false" closable="false" dynamic="true" showHeader="false">
		<h:panelGrid>
			<h:graphicImage value="/resources/images/loading.gif" />
			<h:outputText value="Veuillez patienter s'il vous plait ..." />
		</h:panelGrid>
	</p:dialog>

</h:body>

</html>